Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vcl/utils

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcl/utils

Basic utility classes

  • 0.3.0
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
4
Weekly downloads
 
Created
Source

VCL utils

Basic utility classes.

Features

Utility classes for:

  • Floated elements
  • Box model manipulation
  • Alignment of inline elements
  • Text and word wrapping
  • Visibility control
  • Scrollable containers
  • Text selection by users

Usage

Inline Element Alignment

inline-element-alignment example

Scrollable Containers

scrollable-containers example

Text and Word Wrapping

text-and-word-wrapping example

Classes

Float Helpers

  • vclFloatLeft
  • vclFloatRight
  • vclFloatNone
  • vclClearFix
  • vclClear

Block Element alignment

  • vclCenterBlock

Border

  • vclNoBorder

Padding

  • vclNoPadding

Margin

  • vclNoMargin

Alignment of inline Elements

  • vclAlignLeft
  • vclAlignRight
  • vclAlignCentered
  • vclAlignJustified

Text and Word Wrapping

  • vclBreakWords
  • vclNoWrap
  • vclOverflowEllipsis

Visibility Control

  • vclOverflowHidden
  • vclDisplayNone
  • vclVisibilityHidden

Scrollable Containers

  • vclScrollable

Modifiers:

  • vclX: scrollable only along x-axis
  • vclXOnHover: scrollable only along x-axis when hovered
  • vclY: scrollable only along y-axis
  • vclYOnHover: scrollable only along y-axis when hovered

Text Selection by Users

  • vclEnableUserSelect
  • vclDisableUserSelect

Demo

example.html on GH-pages.

Keywords

FAQs

Package last updated on 15 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc